package com.study.lifeCycle;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test {


    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MainConfigLifeCycle.class);

        String[] beanDefinitionNames = context.getBeanDefinitionNames();

//        for (String name: beanDefinitionNames) {
//            System.out.println("beanName====================>" + name);
//        }

    }
}
